<template>
  <div>
    <input type="text" v-model="inputText">{{inputText}}
    <div>
      <label for="one">One</label><input id="one" type="radio" v-model="value" value="一"><br>
      <label for="two">Two</label><input id="two" type="radio" v-model="value" value="二"><br>
      <label for="three">Three</label><input id="three" type="radio" v-model="value" value="三"><br>
      <p>选中的value为"{{ value }}"</p>
    </div>
    <hr />
  </div>
</template>

<script setup>
import { ref } from 'vue'
const value = ref('一')
const inputText = ref(0);
</script>

<style scoped>

</style>